//
//  UserPresenter.h
//  MVP4
//
//  Created by 李煜 on 2024/6/21.
//

#import <Foundation/Foundation.h>
#import "UserService.h"
#import "UserView.h" //协议
#import "UserViewData.h"
NS_ASSUME_NONNULL_BEGIN

@interface UserPresenter : NSObject
- (void)attachView:(id<UserView>)view;
- (void)detachView;
- (void)getUsers;

- (instancetype)initWithUserService:(UserService *)userService;
@end

NS_ASSUME_NONNULL_END
